#ifndef VECTORMODELER_H_
#define VECTORMODELER_H_
#include <string>
#include <map>
#include <string>
#include "DocVector.h"
#include "ResultMap.h"

class VectorModeler
{
public:
	VectorModeler();
	virtual ~VectorModeler();
	static std::map<std::string,double> applyVectorModel(std::vector<uint>* wordlist, std::vector<ResultMap>* allResults);
	static std::map<std::string,double> calculateScores(std::map<std::string,DocVector>* linearSystem,DocVector* Query);
	static double dotProduct(DocVector* v1, DocVector* v2);
	static double normFactor(DocVector* v1, DocVector* v2);
};

#endif /*VECTORMODELER_H_*/
